#define layout()
<!DOCTYPE html>
<html lang="zh-CN" xml:lang="zh-CN">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>#(SystemConst.getDictSystemConst().systemName.dictText??_res.get('system.name'))</title>

    <script type="text/javascript">
        var _PageHeight = document.documentElement.clientHeight,
            _PageWidth = document.documentElement.clientWidth;

        var _LoadingTop = _PageHeight > 300 ? (_PageHeight - 300) / 2 : 0,
            _LoadingLeft = _PageWidth > 400 ? (_PageWidth - 400) / 2 : 0;

        var Loadimagerul = "#(ctx)/static/img/loading.gif";

        var _LoadingHtml = '<div id="loadingDiv" style="position:absolute;left:0;width:100%;height:' + _PageHeight + 'px;top:0;background:#ffffff;opacity:1;filter:alpha(opacity=80);z-index:10000;"><div style="position: absolute; cursor1: wait; left: ' + _LoadingLeft + 'px; top:' + _LoadingTop + 'px; width:400px;; height: 300px; background: #fff url(' + Loadimagerul + ') no-repeat scroll 5px 12px;"> </div></div>';

        document.write(_LoadingHtml);

        document.onreadystatechange = completeLoading;

        function completeLoading() {
            if (document.readyState == "complete") {
                var loadingMask = document.getElementById('loadingDiv');
                loadingMask.parentNode.removeChild(loadingMask);
            }
        }
    </script>

    <link rel="stylesheet" href="#(ctx)/static/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" id="easyuiTheme" type="text/css"
          href="#(ctx)/static/easyui/themes/metro-blue/easyui.css"/>

    <link href="#(ctx)/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="#(ctx)/static/easyui/themes/icon.css"/>
    <link rel="stylesheet" type="text/css" href="#(ctx)/static/css/ext-icon.css"/>
    <link rel="stylesheet" type="text/css" href="#(ctx)/static/css/style.css"/>
    <link href="#(ctx)/static/img/favicon.ico" rel="icon" type="image/x-icon"/>
    <link href="#(ctx)/static/img/favicon.ico" rel="shortcut icon" type="image/x-icon"/>
    <link rel="Bookmark" type="image/x-icon" href="#(ctx)/static/img/favicon.ico"/>

    #@css?()

</head>
<body>


#@content()


<script type="text/javascript" src="#(ctx)/static/easyui/jquery.min.js"></script>
<script type="text/javascript" src="#(ctx)/static/jquery.cookie.js"></script>

#--
<script type="text/javascript" src="#(ctx)/static/changTheme.js"></script>
--#

<script type="text/javascript" src="#(ctx)/static/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="#(ctx)/static/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="#(ctx)/static/js/easyui.validate.js"></script>
<script type="text/javascript" src="#(ctx)/static/easyui/locale/easyui-lang-zh_CN.js"></script>

<!--[if lt IE 9]>
<script type="text/javascript" src="#(ctx)/static/html5shiv/html5shiv.min.js"></script>
<script type="text/javascript" src="#(ctx)/static/respondjs/respond.min.js"></script>
<script type="text/javascript" src="#(ctx)/static/excanvas.js"></script>
<![endif]-->

<script type="text/javascript" src="#(ctx)/static/js/common.js" charset="UTF-8"></script>
<script type="text/javascript" src="#(ctx)/static/js/DbConst.js" charset="UTF-8"></script>
<script type="text/javascript" src="#(ctx)/static/js/DbLogConst.js" charset="UTF-8"></script>

<script type="text/javascript">
    var contextRootPath = "#(ctx)";

    #if(authTypeListForJS)
    function getAuthType(authType) {
        var result;
        if (!authType) {
            return "无";
        } else {
            #for(authType : authTypeListForJS)
                #if(for.first)
                    if(authType == '#(authType.dictText)'){
                        result = '#(authType.dictName)';
                    }
                #else
                    else if(authType == '#(authType.dictText)'){
                        result = '#(authType.dictName)';
                    }
                #end
            #end
            else{
                return "无";
            }
        }
        return result;
    }
    #end

    #if(transTypeListForJS)
        function getTransType(transType) {
            var result;
            if (!transType) {
                return "无";
            } else {
            #for(transType : transTypeListForJS)
                #if(for.first)
                    if(transType == '#(transType.dictText)'){
                        result = '#(transType.dictName)';
                    }
                #else
                    else if(transType == '#(transType.dictText)'){
                        result = '#(transType.dictName)';
                    }
                #end
            #end
                else{
                    return "无";
                }
            }
            return result;
        }
    #end

    #if(operTypeListForJS)
    function getOperType(operType) {
        var result;
//        if (!operType) {
//            return "无";
//        } else {

            #for(operType : operTypeListForJS)
                #if(for.first)
                    if(operType == '#(operType.dictText)'){
                        result = '#(operType.dictName)';
                    }
                #else
                    else if(operType == '#(operType.dictText)'){
                        result = '#(operType.dictName)';
                    }
                #end
            #end
                else{
                    return "无";
                }
//        }
        return result;
    }
    #end
</script>

#@js?()

</body>
</html>


#end